I am extremely dubious that you have the problem you describe, but here goes: CREATE TEMPORARY TABLE t ( id BIGINT AUTO_INCREMENT PRIMARY KEY, . ... <看更多>
INSERT IGNORE INTO or REPLACE INTO MySQL operations are not really good practices. I advise you to replace with something else to INSERT if ... ... <看更多>